removed the auto adding of a slash to directories, we have the property isDirectory, we can add it ourselves