for ( IBasicFile file : filesList ) {
if ( !files.contains( file.getName() ) ) {
files.add( file.getName() );
fixWidgetMeta( file );
this.readComponentsFile( model, factory, file, DEF_WIDGET_STUB_TYPE,
new RepositoryPathOrigin(
FilenameUtils.getPath( file.getPath() ) ) );
} else {
logger.debug( "Duplicate widget, ignoring " + file.getPath() );
}
}