Finalize source files