use bin env not python directly
os.walk does a stat of each file in a directory to verify if it's a folder or not.
This is not needed and for instances were thousands of files are in one directory
slows this down by a very large margin.