Used BufferedInputStream to improve fileIO