the function of delete file