finished impl j edit <file>