moved file converter to module