reference code for linking all datablocks of a single file, credits in file