saving photos in app's document's directory ref #4