PSR on Exception and File classes