PHP Class Library for checking file presence