Fix bug on new/del files