Optimization now works with a file that contains a list of input files (instead of writing all of them in the command line arguments)