def read_file_into_var(filename, strip=True):
    """Open the file and return the contents, stripped of whitespace by default"""
    with open(filename, "r") as infile:
        return infile.read().strip()