Added logic to get date from filenames and to check if the files are supplemental or not