Add a function to DefaultMessenger and Crore

Add a function:
Let the developer needn't to type the suffix of a html file again and
again