print file only if data frame has rows