Read user-defined filename for string based contexts from options.filename