read write to file commands
new version