separate import_file() from import_()