rebuild file path