Update FileUtils.java

This code will not for files lile Image.JPG
I suggest this quik fix