Changing file to .txt