added default keyfile
change keyfile format