public static function readFile($fileName, $options = [])
    {
        $reader = new File\FileReader($fileName, $options);
        $success = true;
        $contents = null;

        try {
            $reader->open();
            $contents = $reader->read();
        } catch (\RuntimeException $e) {
            self::$lastError = $e->getMessage();
            $success = false;
        }

        try {
            $reader->close();
        } catch (\RuntimeException $e) {
            self::$lastError = $e->getMessage();
            $success = false;
        }

        return ($success) ? $contents : false;
    }