edited readfile_bed