Separated out filesystem functions

Added write/show/delete options for testing