Remove extra empty space in delete file