This post was originally published here
Found this article on the code project on how to set a custom name on a output file – something I recently had to do. It also contains a list of all the macros that are available in the file adapter – so does this post from Owen Allen.