Verify file by sample