add trace logging for detailing time spend on registering file in doms