database API methods add/removeFile/search