in reply to Deleting Old Files in a DB.
Greetings Anonymous Monk
Your question is a bit vague...
What do you mean by "file" and "database" ?
On most UNIX machines you can delete files that are londer than a certain time w/ something like:
find /tmp -type f -mtime +20 | xargs rm
On MS windows you can use the find command to locate files older than a certain time & then select them and delete them.