// Parts 0 and 1 are the prefix and id. We know they're right
String mimeType = parts[2].replace(".", "/");
String filename = parts[3];
final InputStream in = new FileInputStream(matched);
return new FileTransfer(filename, mimeType, matched.length(), new InputStreamFactory()
{
public InputStream getInputStream() throws IOException
{
return in;
}