Forgot to close two file handles.