Move LocalFileDatabase into Diff.scala