Since input is a File object, take a look at the list of methods at File (Java Platform SE 7 ) - there isn't a close method for File.

On the other hand, take a look at the list of methods for...