@staticmethod
def get_token_from_file(file):
    """Opens a file and returns its content (plaintext)

        Parameters
        -----------
        file: :class:`str`
            The file the token is in. Best if the file is plaintext.

        Returns
        -----------
        token: :class:`str`
            The file's content (should be a token)
        """
    with open(file, 'r') as f:
        token = f.read()
    return token
