Still issues with the file pointer.