The game ID can either be taken from the log (first line) or the file name itself. The latter option is likely easier.