read

read(path, **kw)

Dispatch on the filename. Convenience, not magic – it says what it chose.