Doesn't Delete entire file when editing