Would it be suffucient to just put the content of each data handler file into "{}" as a closure or is there an other pattern for this?