Finish the function to print relative paths given the absolute one