add some closeFile