this is code to show how to use vfs_read and vfs_write.