Just ```path =  base64.b64decode(basePath) ``` should be the same, and less confusing.