checking bed files