Apparently I've forgotten how to loop through a directory