Generic task that take a file as input and return a resource
Override the export_to_path method to export the resource into a File