```python from pathlib import Path import sigmf someplace = Path('/tmp') sigmf.sigmffile.fromfile(someplace / 'whatever.sigmf') ``` `AttributeError: 'PosixPath' object has no attribute 'lower'` Adding support for `pathlib.PosixPath` should be trivial.