removed bedfile private call (debug code)