Move the datablock processing to a separate file.