Update Utils.java

Add file read methods, convert image resources into to file to upload to a server