Added macro for file view.