def METHOD_NAME(self, name, max_length=None):
    if max_length and len(name) + 15 > max_length:
        raise SuspiciousFileOperation(
            'Storage can not find an available filename for "%s". '
            "Please make sure that the corresponding file field "
            'allows sufficient "max_length".' % name
        )
    return name