separate reading the file from setting the option(s)