added .txt file extension to filename