Tail from end of file

Fixes the problem with tail that always starts from beginning of file