remove close file