Remove all path management, because we used an event for loading a file, so it's the host who manage the file search.