io.file improvements