rearranged the way we handle different file types