extracting open file options to separate lookup