added check for valid datestamp somewhere in the filename (e.g. 2013-99-99 is NOT valid)