Began work on file handling routines.