Default Can I reset Nexus 5 but BUT still save pictures, files?

Is it possible to reset the Nexus 5 phone; BUT still be able to save the pictures / docs folders ?

I was able to do it on HTC One (also didnt have SD card slot like Nexus 5) but it seems standard way to resetting will wipe everything off.

Any help will be appreciated.