changed deleteFile