Added protocol buffer class for a file