corrected call to read-directory-name