Fragmented file: read().
Adapt TS HMscript to psi fragments.
Adapt gui to Fragments.
Clean up cli and fix handle errors from ts files.