Read files in worker.
Use file.slice to enable import of large files.