diff --git a/source/python/classes/UioFiles.py b/source/python/classes/UioFiles.py
index 28d3986ee3cb7dc7a3e47a296fbc9dbd45af45f5..7a1257c8ffad49e178997b628b6a5bd8e3582709 100644
--- a/source/python/classes/UioFiles.py
+++ b/source/python/classes/UioFiles.py
@@ -87,12 +87,12 @@ class UioFiles(object):
         self.pattern = pattern
         self.files = []
 
-        self.__list_files__(self.path)
+        self._list_files(self.path)
 
         return
 
     #@profiling.timefn
-    def __list_files__(self, path):
+    def _list_files(self, path):
         '''Lists all files in the directory with the matching
         regular expression pattern.