Fixed small bug in PythonFile