shouldn't this include the time, not just the date?  or a unix timestamp?  Otherwise it'll overwrite the same file?