when I use ls, on mac the output is a character vector of the file names e.g. \'file1 file2 file3\'. how can I iterate over these names so I can read each file liste