Changed client-side file management; added RPC method for pushing code snippets to session