def format_size(size: int) -> str:
    """Formats the size of a file into MB

    Input:
        - size: size of a file in bytes

    Output:
        - formatted string showing the size of the file in MB
    """
    return "%3.1f MB" % (size/1000000) if size is not None else size