added bed file parser