Debugged and completed file processing