Created getlogs to read back written files