add editing file funtionality
still trying to fix tests pushing so vinv=cent can work on it