for import file function