Added in API for input / output files.