Small refactoring of olocam-file