rework FileType usage into factories and commons archiver/compressor