def read_text_from_file(path_to_text_file):
    """Reads the text file and returns whole content as a string.

    Args:
        path_to_text_file (str)

    Returns:
        A string that concatenates all the lines in a single line and uses 
        '\n' as the line separator. That means if the text file includes any '\n'
        it is also Huffman Coded.

        str: content of text file in a single line
    """
    with open(path_to_text_file, "r") as file:
        array_of_lines = [line.strip('\n') for line in file.readlines()]

    line_seperator = "\n"  # To join all the read lines into one string
    text = line_seperator.join(array_of_lines)  # Join into one string

    return text