delete old file.
update state test to a better way
check in plugin jar for now.