public static function Read($path) { /** * Correct the path */ $corrected_path = Path::Get($path); /** * Open the file */ if (file_exists($corrected_path)) { return File::OpenFile($corrected_path); } /** * If not */ return null; }