refactor old file calculation/deletion
Calculate time before deletion - if old calculation - time.time() + config["TIME"] - else use 0x0 new one - add deletion time in files database
on update (and if 0x0 == false) run the calculate time before deletion function again
on cleanup, just check if now => deletion time
This is cleaner and probably faster since it doesn't have to do db updates on each clean
downside is it's a DB change, and would require some migration