Implemented main functionality for FileSetFactory.