added handling of folders to confighandler