Updated file importer to work with new API client