mod - remove the goto in input.c/from_file : on error would try to close a NULL pointer