Sorry, maybe I havent been clear enough...
The things I was asking if it was valid is in fact this line:
A custom metadata I added to <metaFields> in <cmsEngine> part of the config file.
But for files I added programmatically, the defaultValue was not set.
Is it normal, or not ?