Add initial support for file viewer