Minor changes

* changed file io to use with