Added PTFopen.py to functions.py