Changed file access to Stream access
Merge branch 'core-refactor' of github.com:webdetails/cda into core-refactor