actually it would totally make sense to put this into the mapper. That way you can be sure that the img is always deleted if the db record is dropped. Images can also be stored inside the database and the folder with favicons is basically some kind of database :P