corrected file pattern to match whole file name

%Y%m%d will not match .#20140806 any more.