# Calculating the sum of values from a text file?

im trying to find the sum of the cost of all my books in my libary system from a file, could someone say where im going wrong atm. It would be great help

int sum = 0;
File Fileobject = new File ("E:\text files for java\BooksToImport.txt");

try {
Scanner fileReader  = new Scanner (Fileobject);

// Read and display each line of the file