The competence of the Generalitat about the files of a trading company of a Town Council of Catalonia, is in article 156 to) of the Statute of Autonomy of Catalonia. The control of the files of this society, the titularity of which it belongs To a Town Council, that the unique partner is, corresponds to the Catalan Agency of Protection of Data (article 3.1 of the Law 5/2002, of 19 April, of creation of the Catalan Agency of Protection of Data) and its files will have to be set in the Register of Data Protection of Catalonia (article 15.2 to) of Law 5/2002), through the forms approved by Resolution of 16 December of 2008, of the director of the Agency.