Update openfiles.py