What does the `len(base) + 1` stuff do? Is `base` expected to have a certain structure? In my tests this gives the filename with the first letter chopped off.