Port FileTable over to Scala