Working on file handling.