Added _setDirectoryPath() function to separate the logic of constructing the directory path
Added _setDirectoryPath() function to separate the logic of constructing the directory path

SansPseudoFix/DirectoryLister,phillip-hopper/DirectoryLister,ebildude123/DirectoryLister,Snoop05/DirectoryLister,DirectoryLister/DirectoryLister,bergo/DirectoryLister,DirectoryLister/DirectoryLister,Obihoernchen/DirectoryLister,AudioGod/sshdweb,LUNAD3v/DirectoryLister,DirectoryLister/DirectoryLister,kyroskoh/DirectoryLister,SansPseudoFix/DirectoryLister,DirectoryLister/DirectoryLister,Seanmcn/DirectoryLister,mrbaddis/DirectoryLister