diff --git a/bob/pad/base/test/test_spoof.py b/bob/pad/base/test/test_spoof.py
index 2ceedb3bd9b15ea29fda9c9aaf1e496dd553470c..66d3ca8b0c157e84930f1dac40ae4f54b289a367 100644
--- a/bob/pad/base/test/test_spoof.py
+++ b/bob/pad/base/test/test_spoof.py
@@ -43,7 +43,7 @@ def _detect(parameters, cur_test_dir, sub_dir, score_types=('dev-real',), scores
         for i in range(0, len(score_types)):
             data2check = []
             for sfile in (score_files[i], reference_files[i]):
-                f = bob.measure.load.open_file(sfile)
+                f = bob.bio.score.load.open_file(sfile)
                 d_ = []
                 for line in f:
                     if isinstance(line, bytes): line = line.decode('utf-8')
diff --git a/bob/pad/base/tools/scoring.py b/bob/pad/base/tools/scoring.py
index 119477389e1e0008ffcb702f4709ba1e89d7d695..0a0bdc976d43cf541a91fd4d780f5255d7ee4058 100644
--- a/bob/pad/base/tools/scoring.py
+++ b/bob/pad/base/tools/scoring.py
@@ -7,6 +7,7 @@
 
 
 import bob.io.base
+import bob.bio.base
 import bob.measure
 import numpy
 import os
@@ -48,12 +49,12 @@ def _compute_scores(algorithm, toscore_objects, allow_missing_files):
 
 def _open_to_read(score_file):
     """Checks for the existence of the normal and the compressed version of the file,
-    and calls :py:func:`bob.measure.load.open_file` for the existing one."""
+    and calls :py:func:`bob.bio.base.score.open_file` for the existing one."""
     if not os.path.exists(score_file):
         score_file += '.tar.bz2'
         if not os.path.exists(score_file):
             raise IOError("The score file '%s' cannot be found. Aborting!" % score_file)
-    return bob.measure.load.open_file(score_file)
+    return bob.bio.base.open_file(score_file)
 
 
 def _open_to_write(score_file, write_compressed):