``filter_folder`` and ``filter_file``  function slipped in, I think. They don't belong here