LPTHW ex20.py - Functions and Files