whoops, forget to filter out "." and ".." and append name of sub-directory to paths