working version 4 : cat on FS working now (minor changes)