keyfile support added