Refine the main source file for feature selection.