The strange fact is the problem is with few files [...] other files are editable
Your problem (whatever that is) is with the Editor that you are using to open these Files, not with Files themselves.Check what App has been configured to open Files with this Extension(s), whether the Path is correct etc...