Remove the files after 10 minutes

Does the code sound reasonable? I don't know if this garbage makes
sense.