@staticmethod
def format_file_size(size_of_file: int, suffix: str='B') ->str:
    """Humanize file size.
        :param size_of_file: Size of file in bytes
        :param suffix: Suffix which will be added to size format
        :type size_of_file: int
        :type suffix: str
        :return: Humanized file size
        :rtype: str
        """
    for unit in ['', 'Ki', 'Mi', 'Gi', 'Ti', 'Pi', 'Ei', 'Zi']:
        if abs(size_of_file) < 1024.0:
            return '{0}{1:s}{2:s}'.format(round(size_of_file, 3), unit, suffix)
        size_of_file /= 1024.0
