Set attachment category from file name on upload

Set attachment category from file name on upload

tech