Use FileStorage wrapper class
Optimize index updating
Simpify index creation
Convenience methods for index updates
Use new convenience methods
Methods for getting index
Use BufferedWriter for batch index updates for better performance