error stat() file : stat /patents: no such file or directory