Revert "try to open file"

This reverts commit 34fe3d44fa2434d8a33fbb9333e958b133b2ca7d.