remove .txt extension