public static function fromString($path)
    {
        if (!file_exists($path)) {
            throw new InvalidArgumentType(
                '$path',
                'existing file',
                $path
            );
        }

        return new static(
            array(
                'inputUri' => $path,
                'fileName' => basename($path),
                'fileSize' => filesize($path),
            )
        );
    }