Rename ProvenanceInterface.directory_xxx_flattenned as directory_xxx_flattened
and fix all occurrences of the typo.