playing oni file. todo: loop, free()s, bug fixes, etc...