True, and I considered that when choosing the name. I chose to go ahead with "dir" since other python modules like tempfile use it as well. I think it's okay that the "dir" function is hidden in this scope, but if you like I can change the name.