converting file view to web components