remove txt extension