Update readme
Correctly close opened file when error occurs
Implement index files for static module
Merge branch 'index-file'