Resetting read pointers after closing files.