added the possibility to specify the input and output checks on input / output files. fixes #258