Added debugmode to print out the filename of the included file into the generated html for easy reference while developing