The Files From Result transform reads filenames and additional metadata that were added through the 'add filename to result' in other transforms.
Every time a file gets processed, used or created in a pipeline or a workflow, the details of the file, the workflow action, the transform, etc. is captured and added to an internal result set when the option 'Add file names to result' is set, e.g. in a Text File Output transform.