Bugfix/allow empty file list

avoid a couple of errors that can happen with some unusual modfiles