Add code to allow processing of samples with splitting up input files