made changes to the FileImporter. This is working from command line now.