Updated to work with the method for splitting, rather than the split_re (so more general); and to look for an Identifier in the metatada, and use that as the filename, if present