Don't care about trailing slashes for directories