REFACTOR: consistent search procedure for param file