open and parse now only get options as parameter, filename is unneeded