Save previous file/dir paths