def read_target_source(target):
    """ Processes file so we can write newly minted docstrings.

    :param target: Target file
    :returns: List of lines in target file
    """
    f = open(target.__file__)
    file_contents = f.readlines()
    return file_contents