Add new allocate block to write file
Fix IOSystem and add test cases
Add Read and Write to public command line