fixing task to clean uploaded files