Save paths in relative format.