def base64_decode_dump_file()

in src/utils.py [0:0]


def base64_decode_dump_file(file_name_to,file_name_from, byte_mode=False):
    with open(file_name_from, 'r') as file_from:
        with open(file_name_to, 'wb' if byte_mode else 'w') as file:
            padded_decoded_bytes = base64.urlsafe_b64decode(get_padded_str(file_from.read()))
            file.write(padded_decoded_bytes if byte_mode else padded_decoded_bytes.decode('utf-8'))