added findVcfInBed utility, and some refactoring to support it