file io refactoring
install FileSystemModule
fix Radu's comment
fix copyright
Merge pull request #1121 from dwightguth/file2

more file io refactoring