ParaView's default reader selection

Actually, Python has to have this functionality already, right? Or does Select Reader pop up in a generic “Open this path” API call?