Logs all filepaths of files under a directory to a file, with options for prefix/suffix/separator char etc