Add configuration option for file viewer