Cleanup selectFiles