manage the barlocker file