rewrite of the famous VN-archives manipulator in C