used os.path.basename in parsing 2bit filenames