Generic task that take a file as input and return a resource
Override the import_from_path method to import the file to the destination resource