adding some more documentation (you need to have write permissions on the file)