Erasing html files as links are in legacy PHP