Fixed issues with the FileUtils class and changed/added some documentation.