decode file data from base64