add file manager
refresh state correctly