fixed the management of data and stage file and framework improvement
- fixed the maintenance operation in either file type
- added in the dataset pack the type of the dataset