Now does file IO. Error checking coming in next commit.