Added possibility to import files via a local path, not only via a url.