File upload: consider attribute id in record file name