delete files after use, name resources with uuid