Added ability to import from file