Closing disk file after everything is done.