Test file upload
Check `hasHDR` first.