Create the filelist before trying to modify it, if needed.