I\'m currently working on a method that reads files(mostly .PDFs) bytes and encodes them to base64. I\'m however somewhat concerned about possible memory issues when using File.