# How to programatically manage local vtk legacy files with ParaViewWeb API?

**URL:** https://discourse.vtk.org/t/how-to-programatically-manage-local-vtk-legacy-files-with-paraviewweb-api/4187
**Category:** Web
**Created:** [September 10, 2020, 11:38am UTC](https://discourse.vtk.org/t/how-to-programatically-manage-local-vtk-legacy-files-with-paraviewweb-api/4187 "2020-09-10T11:38:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![raphael553](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@raphael553](https://discourse.vtk.org/u/raphael553)
#### Post date: [September 10, 2020, 11:38am UTC](https://discourse.vtk.org/t/how-to-programatically-manage-local-vtk-legacy-files-with-paraviewweb-api/4187/1 "2020-09-10T11:38:42Z")

</div>

Hello everyone,

I’ve wanted to automatically read, load and render vtk legacy unstructured grid files through ParaViewWeb API. When I try to read vtk file with VTKGeometryDataModel, I didn’t get any desired results. I’ve started with this code:

```
import VTKGeometryDataModel from 'paraviewweb/src/IO/Core/VTKGeometryDataModel';
var vtk = new VTKGeometryDataModel('/dataset');

```

What should I do to move foward with this work? Thanks in advance!
