def write_token_file(filename, oauth_token, oauth_token_secret):
    """Write a token file to hold the oauth token and oauth token secret."""
    with open(filename, 'w') as oauth_file:
        print(oauth_token, file=oauth_file)
        print(oauth_token_secret, file=oauth_file)
