remove flex file