Implemented filepath ordering
Added intermediate type module