Modified the UI to display a preview of the open file in a browser