pls what`s wrong
package com.codegym.task.task18.task1802;
import java.io.FileInputStream;
import java.io.*;
/*
Minimum byte
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String filename = reader.readLine();
FileInputStream inputStream = new FileInputStream("/users/jyothi/Downloads/"+filename);
long sum =0;
while (inputStream.available() > 0) //as long as there are unread bytes
{
int data = inputStream.read(); //Read the next byte
if (data < 0) sum = data;//Add it to the running total
}
inputStream.close(); // Close the stream
System.out.println(sum); // Display the sum on the screen
}
}