import random


def get_tweet(in_file):
    """ Open up input file read all quotes into a list, return random quote """

    possible = []
    for tweet in in_file.read().split("DELIM"):
        possible.append(tweet.strip())

    return random.choice(possible)