Implemented ProcessFile().