add protofile