make sure the returned file report matches the one piped through