Be more verbose in the filename and while logging. Fix crash when filelist contained empty lines.