added check for empty matched filelists
fixed checking for provided filelists