Files management and main pipeline impl
Encoding tweaks