Create nameprog.py

dealing with reading and writing files.