update files lecture to use external input file