Files and fine-grit sandpaper are used to smooth down rough edges, remove mold lines, and clean up areas where sprue was connected to the model. They help provide a clean, smooth surface for primer and paint to adhere to, which improves the overall appearance of your finished miniature.