reorganized existing text files
got basic text file writing to work