Well this definitely gives a weird to incorrect format for an empty filename.
So `.length` is correct here.