Usually the filename comes before the error message as in:

    /foo/bar: No such file or directory