add a method to clean up uploaded files