fix #10 do not emit warning when file loop is empty