Check whether a file belongs to the given workflow category.
The file path to check
The workflow category ('content' or 'translation')
true if the file is allowed for the given category
Check whether a file belongs to the given workflow category.