rename func
clear files