Temporary fix import_file_factory