Add list-files and map-directory-1