def METHOD_NAME(self):
    """ Iterate through all snapshot and mastersnapshot and list the used snapshots in tests or mastertest."""
    snapshots = []
    logger.info("%s Fetching files for %s from container dir: %s", Snapshot.LOGPREFIX, self.container,
                self.container_dir)
    for testType, snapshotType, replace in (
            (TEST, SNAPSHOT, False),
            (MASTERTEST, MASTERSNAPSHOT, True)):
        test_files = get_json_files(self.container_dir, testType)
        logger.info('%s fetched %s number of files from %s container: %s', Snapshot.LOGPREFIX, snapshotType,
                    self.container, len(test_files))
        snapshots.extend(self.process_files(test_files, snapshotType, replace))
    return list(set(snapshots))