Fix precision issue in fileparser tests
Add back os.path.basename to name cleaning