Fix single file processing