Changing file extension to remove .txt part.