use path separator for equals to protect against NPE