avoid creating empty files