improved handling of files: the server now sends the file content back to the client when opening a project