in reply to can I get a translation

If you list the contents of directory foo, readdir will return bar, not foo/bar. That's a problem if you try to open the file without first prepending the directory. It'll look for ./bar instead of foo/bar.