refactor passwords files