def read_file_contents(filenm):
    """
    Opens the input file, stores all the text into a tuple of strings,
    one normal order and one reverse order.
    Closes the file and returns the contents

    :param filenm: A string representing the name of the input file
    :return: A tuple with the input string and the reversed string
    """
    in_str = ""
    reverse_str = ""

    open_file = open(filenm, "r")               # use io_input.txt
    next_line = open_file.readline()            # reads the first line

    while(len(next_line) > 0):                  # while there is something to read
        in_str = in_str + next_line             # concatenates the string to the normal end
        reverse_str = next_line + reverse_str   # concatenates backwards
        next_line = open_file.readline()        # reads the next line
    open_file.close()
    print("{0} file read.".format(filenm))

    return (in_str, reverse_str)                # returns a tuple