No...

RenderListAsHTML returns a string - the filename that it has created.

How would you normally get a string back from a function?