rising error if there is no bucket
Modified to read one line at a time log file
version is 0.1.0