...
- When creating a file with a step that supports it, allow it to mark the file as a Result File.
For example the "Text file output" step has the check-box "Add filenames to result" on the File tab for that purpose. (I guess the file type would be General but aren't sure.) - Use the step "Set files in result" from the Job category to mark a file as a result file of a particular type. This steps expects the file name to be in a field (you can use e.g. "Generate Rows" in combination with "Add constants" to produce a row containing the file name).
See this forum message with an example attached.