Make readBase64 an instance method

Leverage the existing code in File::read() and simply add in chunking and base64 encoding.