refactoring var names
select smallest file from each optimiser, logging needs some work