added method getFileName
added getFileName and changed version to 0.1.1
changed inputformat to give bytesread instead of offset number