def make_filebody(number_of_lines: int) -> str:
    """ Return a string representing the contents of a file with a given number of lines.

        Only used for testing purposes.
    """

    body = ''

    for i in range(0, number_of_lines):
        body += '{n}/{c}: line\n'.format(n=i, c=number_of_lines)

    return body