Well this is my problem. For example, I have some forms that are saved as "Doe, John.xml" and "Doe, Jane .xml". Due to a mistake in the Save and Close code, some forms have a space before the ".xml". And I have like 20,000 forms in my library so to go through each one is not to much of an option. I can get the filename in JScript by doing the XDocument.URI. But I was wondering if there was an easy way to see if the string contains a " " before the ".xml". Does this make sense?