Couldn't we just change `maxFilesQuantity` attribute to `Integer`?