added date handling, destination dir.