New file wtgw.py