Custom submitter: How to turn a folder of files into a list of tasks