Consolidate licenses

Is there a reason why the license text is embedded in most source files? Can we consolidate that into a top level license file, or is that illegal somehow?