parses through the file

but I don't think it's stopping at each character properly.
Messed around with parsing