Renamed devices. fixed keyfile -> key_file