Splitting logic by filetype
Merge pull request #1 from de1ux/001_split_logic

Splitting logic by filetype