Get image data through File API