split api file