experimenting with some file IO using socket io