Added indirect functionality for reading/writing.
Fixed some bugs with writing added ls, touch, and cat.