Close file after we're done.