Use Path not File
Replace MappedRandomAccessFile with MappedFileChannel
Added flow-plugins dependency

Signed-off-by: waterpicker <waterpickerenternity@gmail.com>