Multiple condition testing and SamplesFile fully..

tested.