Replace filepath by to