Reworked the backup_function. Should add a timestamp to each file when its backedup.