missing version number. clean up file handling code. 2.6 + now
make functional