adding parameter to avoid creating an empty file