Check bugs. rename file is done, but delete some file when create train file