I don't think the basicFileName should be encoded.