render folder or file when its model changes