Fixed Search-Database switch; added bas of FileManager