public FileComponent() {
}
public FileComponent(CamelContext context) {
super(context);
}
<BUG>protected Endpoint<FileExchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {
URI u = new URI(uri);
String schemeSpecificPart = u.getSchemeSpecificPart();
File file = new File(schemeSpecificPart);</BUG>
FileEndpoint result = new FileEndpoint(file, uri, this);

public FileComponent() {
}
public FileComponent(CamelContext context) {
super(context);
}
protected Endpoint<FileExchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {
File file = new File(remaining);
FileEndpoint result = new FileEndpoint(file, uri, this);
