added demofile parser. tested -- works.