updated docstrings for IO.py