On Thu, 04 Feb 2016 16:57:09 +0000, Zoadian wrote: > enum fileContent = import(__FILE__); > > parse imports and repeat this recursivly for all found imports The path for module imports is not the same as the path for file imports, so this might not do everything you want.