Removes .txt extension from license