Ok. Thanks for clarifying.
Artur Malabarba <bruce.connor.am@gmail.com> writes:
>>> + (with-current-buffer (find-file-noselect file)
>>
>> Please use with-temp-buffer + insert-file-contents instead.
>
> That is, unless the file needs to stay open for some specific reason.
This file is already open - it's the file being checked currently. No
need to close it or for temp buffers.