this should be caught, as it's not really helpful. especially given that we already get a nice error message when the files section is empty.