remove closing file