Updated file processing