initial support for filename modes in webui