added regex to infer task type from filename