add new function ,enter password  when user open a file