add print statements to show begining and finish of file processing.