Folders also contain hidden system files we might not want to fiddle with. Here, we'll want to skip over them or risk renaming them as well.

Right after the for loop add an if not statement that makes sure filename doesn't start with a full stop. Like before, indent the rest of the code.