Begin finalizing the io::file module

More to come in a second