try{
File f = new File(fileName);
final long fileSize = (int) f.length();
final FileInputStream fis = new FileInputStream(f);
BufferedReader input=new BufferedReader(new InputStreamReader(fis));
IProgressTask task = new IProgressTask() {
@Override
public long getValue() {
if (fis.getChannel() != null)
try {