Adds support for import file from both URL and command line call