adding text file analysis