Python Script to Sort Files based on Filetype Extensions