Updated FileUtil

- Deleted unused functions
- Updated Javadoc