add attribute to extract date information from name of datafile