added local save for media files; updated docs