refine files