Factored out select_consensus_files into it's own module