fix a file name and remove a unreferred file