File upload cleanup