Sampling enabled from a vector of Points as well as files