windows' tail command developed by python