A scheme to recreate the index file when it is read
Fixed a few syntax errors
The static file is automatically deleted if the post is deleted from the database