Well, that got rid of the error (THANKS!) , but it left the files behind after I clicked Delete. My page is attached. Perhaps it is just an order of operations thing.
When I had the Delete code before the HEAD my list of files did not work. When I move it to the end of the page, but within the body, the page renders properly.