Output changes & optimizations

Will now print more than 2 files at a time if they are all duplicates of
each other.

Also removed a lot of the if blocks and replaced them with nexts.