def read_access_token(file):
    """file contains a GitHub access token with repo permissions on
    its last line. Return this token."""
    with open(file, 'r') as f:
        return f.read().splitlines()[-1]