changed to use min files.