please use ``/`` rather than DIRECTORY_SEPARATOR here as string comparisons are not needed