Changes in file processing. Made it single threaded to be executed in batch.