is there a reason for requiring user to type password twice to open a file? When creating it, yes of course, but seems unnecessary for opening…