set password to a separate file