Use apache commons io for file reading

It's probably a bit of overkill, but could possible be used for future
functionality.
Added method for reading files to base64