Don't reference a filehandle outside scope.