Replace id to file