basic file i/o. I need to go to bed..