creating php files to html for rendering