File processing workflow with heavy CPU usage (TypeScript file processing sample)