Debugging simple Write
Add option to read from file
Add test file