bugfix: make the file search also use the correct path