Implement clear for content folder. Add additional logging for target tasks