Find a FileBase in a list model by path.
The list model to search
The FileBase to find
Position if found, -1 otherwise