print() on closed filehandle FILE2 at ...