some more proto support for files encryption