String identifier = null;
SQLiteStatement stmt = db.prepare("SELECT isDir, crawlid, fname, owner, groupowner, permissions, size, modified, path FROM Files WHERE Files.fid = ?");
try {
stmt.bind(1, fid);
if (stmt.step()) {
isDir = "True".equals(stmt.columnString(0));
crawlid = stmt.columnLong(1);
fname = stmt.columnString(2);
owner = stmt.columnString(3);
groupowner = stmt.columnString(4);