Adds source files to documents