fix findbugs error

- remove use of guava Files
- some other findbugs errors
Findbugs complained about this?