Create FilenameToCat.py

Getting the category for a file