Resource delete working; not deleteing files