Closed FileInputStream in constructor