small refactor error ModuleFile compilers