change file to relative path