Change to the right text format for file extension