Backend for file contents update