Free/clear file data as the file is closed.