reverse compatibility with CodeProject

when using a string as input, a filename is not available. add an
utility method to enable reverse compatibility and force the filename to
""