Disambiguated the 'id' column of the 'stats' table by renaming it to a more meaningful 'fileid'