check public folder existence at constructor
delete folders only if they exist