Revert "adding file type"

This reverts commit e5d05c989c27b49bdbe8db9e9b697527a78094ff.
Revert "Revert "adding file type""

This reverts commit edc91056b59b448f00a82c09ce67146880fd2a5b.