Added file open and program close funcs.
Merge branch 'master' of https://github.com/maximillian2/time-series
Small fix
Merge branch 'master' of https://github.com/maximillian2/time-series