Open File Python Pathlib Path Function Definition