Prepare for file view on client