Fix close file
Merge branch 'develop'