Reduce duplication

Remove the need to have a separate list of which files are to be
pretty printed