CS for hathor

Yes it makes no sense to use a custom function (that we have to maintain) when there is a native PHP function to do it properly.

So the conversion to `file_exists()` makes sense here. Of course we can create another PR to fully replace it on all the files and focus only on CS issues here.