upload class has a new method that deletes uploaded files