Updated GetData, Created WriteData

Found an easier way to compare the strings, for WriteData, opens a
filepath, places headers and values together (which would be used for
saving player data etc). Tell me what you guys think.