これが正解ではないですが一度試してみてください。
もしMacを使ってDocker環境で開発中で、
ローカルのディレクトリをvolume mountしているとかの場合で
ファイル名を変更したらなぜかNo such file or directoryになってしまったら
一回、Dockerコンテナをstopなりして停止して、
再度runしてみてください
これで解決するかもです。
ファイル名を変更しても実際lsは動くけど、grep出来なかったり動作が不安定です。
多分Volumeの不整合が起きている可能性があるので、一度試してみると良いです