rename file
add a exception for divide by zero