I take it that a revision control system is not in place? Otherwise you could do cvs annotate/svn blame or similar.