added updating files
Merge pull request #17 from westfeld/extending_file_api

Implemented updateFile:...