remove a file, like upstream