adding the possibility to give a specific file as input, better check of cuts definition and input files