Not sure what format the files are kept in, but it's been done. Several private companies have these behind a paywall:ThompsonWest and Lexis/Nexis are the most well known, but there are others. Don't forget the published caselaw of the fifty states as well as state legislation. The U.S. Code is far from the whole picture.