monitor files add
monitor part 2, add of debug info and bug fix (mem problem)