Create FileObj.py

added the file object class