Take advantage of rowid column to more efficiently correlate entries with files
Remove file_mem struct