Close the file handle