Simplify Open.py