file editor sample code using MVC