refactor(files): Use functions for all in occ files:cleanup
#49408
+18
−12
occ files:cleanup
#49408