private void associateSpecs(List<AssetFile> javascriptFiles)
{
var specs = AllSpecifications.ToList();
javascriptFiles.RemoveAll(file => specs.Any(x => x.File == file));
specs.Each(spec =>
{
// Brute force baby! No elegance needed here.
// Ten bucks says this is a perf problem down the line
javascriptFiles.Where(spec.DependsOn).Each(spec.AddLibrary);
});
}