If the decision was made to separate checking of file's existence from reading it's contents, then additional operations on those contents should also be separate.
However, is that much splitting necessary here?