small change to way it handles files, updates to example.py
Removed comment code in example.py