Fixed bug when it wasnt deleting the files in the thumb folders