source/Setup/Utilities.php
public function getFileContents($sFile)
    {
        $sContents = null;
        if (file_exists($sFile) && is_readable($sFile)) {
            $sContents = file_get_contents($sFile);
        }

        return $sContents;
    }
public function getFileContents($sFile)
    {
        $sContents = null;
        if (file_exists($sFile) && is_readable($sFile)) {
            $sContents = file_get_contents($sFile);
        }

        return $sContents;
    }
public function getFileContents ( $ sFile ) { $ sContents = null ; if ( file_exists ( $ sFile ) && is_readable ( $ sFile ) ) { $ sContents = file_get_contents ( $ sFile ) ; } return $ sContents ; }
Returns file contents if file is readable

@param string $sFile path to file

@return string | mixed
Returns file contents if file is readable