Allow an empty string to be used on the end of the XML filenames

Allow empty strings to be used on the end of the XML filenames.