added filemeta, beginning conversion to oop sooner then later