Modified code generation so that the file name is the kernel entry
function