#5024: allow to attach external files to records