I create a file by touch myFile in the Terminal.
When I open this file in the Finder, it opens with TextEdit. But TextEdit is not ok for me, because it automatically transforms the character ' into ‘, which is not satisfactory for coding.
Thus, I want to always open these files with Sublime for instance.
But, when I CMD+I this file to change the default opening application for such files, I get an error message.

Is there a way around?