def txt_to_string(text_file_path):
    """Read text file as string"""

    f = open(text_file_path, 'r')
    txt_string = ''
    while True:
        single_line = f.readline()
        if single_line == '':
            break
        txt_string += single_line
    f.close()

    return txt_string