optimize DirectoryHelper