Refactor of post files.