Adding File IO.

I will fix the messed up screen stuff later...