Use BufferedInputStream to read file