Text file format converter