public static function fromFile ($filename)
    {
        if (!file_exists($filename) || !is_readable($filename))
        {
            throw new FileNotFoundException($filename);
        }

        $data = file_get_contents($filename);

        return new static($data);
    }