Reads Logs and Writes in file on SD Card