Simplify to a single weight per source file