Fix FileDatabase