QC in file-based production