started on multiple input files functionality #5