complete worksmgr file coding