renew FileManager

rewrite all code.
all code for editor instance is comment now.