created readwrite.py