returns list of strings, instead of just printing out the files as strings
still need to handle permission denied error