renamed path argument to file
updated man page
Merge branch 'testing' into write
fixed wrong function name
update documentation