Changed args on stats.py so that you pass in the path to the directory file, not the folder.