fixes in upload module delete files