This should stay in FilePlugin.java I think. FileTransfer does require it as well, but I think it's safe to say that FileTransfer has a dependency on FilePlugin, so in that case it's "OK" for it to call this method on FilePlugin.