<pre>function findFile fileName  if fileName is empty then return empty  toComputer  put allFiles() into theFiles  repeat with x = 1 to the number of lines of theFiles    if item 1 of line x of theFiles is fileName    then return item 2 of line x of theFiles into filePath  end repeat  return emptyend findFile</pre>