WRITE reader.py and main.py