Unable to add button on custom menu

I was trying to add a button in custom ui menu which execute my function abc(). :spin:
. . . . . exec(compile(/root/folder/myfile.py)…))

:)Happy to see the those example codes py files in template folder of blender installation directory. Easily i got a Custom Ui Menu in my blender toolbar by executing the uimenu.py file.

Example showes to add inbuilt layouts button with executing through blender operators, but executing a customized function is tough for beginners like me.:rolleyes:

A little help here please. :slight_smile: