io func
remove obsoleted files