added new code to process text files