Solution

the interface name should be FileEncoder instead of FileEncoderFN