Open the file pointed to by the path, like the built-in open() function does:
Path.open(mode='r', buffering=-1, encoding=None, errors=None, newline=None)
>>> p = Path('setup.py')
>>> with p.open() as f:
... f.readline()
...
'!/usr/bin/env python3\n'