A more standardized way to use standard IO