Create writer.py