Add closeFile.