check if the files deleted