InputFile shouldn't be opening files for write
InputFile shouldn't be opening files for write

(manual merge from ustramooner)

ustramooner/LucenePlusPlus,ustramooner/LucenePlusPlus,ustramooner/LucenePlusPlus