I managed to fix it changing the settings of the files!
I was able to recover the file. I can open the file and edit it but I can not save or render it.
render error is command exit code 1.
and when I try to save it says permission denied.
I am using a mac.
Does anyone know how to solve this?
Okay I was able to recover the file from time machine when I recovered the whole file that included all the things for the project.