Reduce file content on summary

When the file content fails the check, the whole content of both files is shown in the summary line. This PR makes that only their leading lines get shown, to make the summary readable.