(#16412) add `show_diffs` param to file type

When false, this will suppress diffs of the affected files.

I've duplicated the handling of `purge` here, but it seems like there must be a better way to handle boolean parameters.. please advise :)