Refactoring to have pattern match based on type
missing files