Lots of modifications in regards to the file IO, is quite spiffy now.