Add debug + fix subgroup naming in 'write'.
Added basic file creation example (currently showing bug in 'complete').