//Sometimes the filename doesn't have a date (e.g., “jdoe ((null)).chatlog”). In such cases, if it's a chatlog, parse it and get the date from the first element that has one.
//We don't do this first because NSXMLParser uses +[NSData dataWithContentsOfURL:], which is painful for large log files.