Fileobject for PY3