slashes in paths replaced with DIRECTORY_SEPARATOR