Added password file hook.