Find current location for file in db