Add helper to preview files with syntax highlighting