Added support for .ejs file