Created LogSource

For now it can open an input file and save the file offset
for every line. Also returns the number of lines in input file.