Update to use file.io