add flag file