Fix logic when handling raw data file.

These three fields are all required.
Fix copy/paste mistake.
Merge branch 'master' into actor