refine file name.