import base64


def get_image_base64(file_path):
    """
    Get the Base64 encoded string for a given screenshot file
    :param file_path: the file path to a screenshot
    :return: the Base64 string
    """
    with open(file_path, "rb") as image_file:
        base64_string = base64.b64encode(image_file.read())

    return base64_string