$content = f::read('test.txt'); i.e. content is hello $content = f::read('text.txt', 'json'); returns an array with the parsed content
public static function read($file) { return @file_get_contents($file); }