Update fileio.py