Moved parameters to stream in headerfile, filepaths no longer hard-coded.