add case where there is zero file