Wrote the fetching-source-code function.