def fix_content_to_append(content):
    """
    Needed when appending files
    If there is no line feed at the end of content, adds line feed at the end
    """
    if content:
        if content[-1] != "\n":
            content += "\n"
    return content