use keyfile