Rename dirList to directories
Change documentation