still can’t believe that dotfiles being hidden is a thing because the goofballs at bell labs wanted to hide . and .. in ls, so they implemented it as

if (filename[0] == '.') continue;