problem22: should close file..