Fixed issue where list was being searched when File was not found