file safety check for getOption logging