deletes files after serving