Input file is not of valid type data/osm_file.pbf

Well, glad to accept a PR to fix the documentation!

.osm is really a XML file. So if you try .osm.xml it might work. Not really sure if it supports xml tbh. If not, there’s always osmium & osmosis to convert to PBF. XML is really not the right format to distribute OSM data, 10 x as big as PBF.