Updated getting logentries from file

From memory instead when needed