Needs an extra check, since some File-Objects in FileList might be directories.