Adds functionality to load file from server if session exists on the server.