add src file to core