Added render functionality (not done)
Added function of finding a template according to page & file data