Adding file IO - in progress.