I can agree that this solution may not be the prettiest or most flexible, but it works. As far as getting the file size, wouldn't you need to call the "FeedUtils.saveImageAsFile()" a second time? If so, wouldn't you be repeating all the processes in the method?