bad practice, you should check the return value of the renameTo() method.

Spring 3