do not open print file if print is empty