softcoded compareDirectories