I want to collect the dates of each filename. I am getting all the data of each filename except the dates. The date can come from filenames like the building number. The building in the filenames are being stored with the other data except the dates. The filenames, for example, looks like this 100_2016-10-3_10-31. The first three numbers are the building numbers, the date, and _10-31 is the time. How can I get the dates stored as well?