Better management of the input

Allows reading single nexus/newick trees from the given chain of trees.