low open files clean implementation