decrypt.py flatten.py