output to relative path