Widget - Change the title by adding an image to the panel heading

By ofo


Which file will I need to change so that my widgets can have the title on the left and an image on the right.For example I have the latest files widget which has the title Latest files now I need to add an image and align it to the right.

Thank you.