fail when no files and urls are defined

If I use urls instead files, I got fail warning. Should be fixed with checking urls too.