Removing the legacy api file