Fix open file
Add entity schema