ECMS-4650: Verify the size of an image in the File activity