Added code to set the "current directory" to the ifile directory before executing "next_level_name.py". This is necessary when actual ifile names are extracted from another file, such as in l2bin and l3bin.