refactoring part 1
refactored file conversions and filters into a new module called
preprocess