Move file reader functions to importer.