ex2: Predict function
delete old file