added file closing ft