Parameters
- fileName
- The file name to sanitize
- eliminateSpaces
- When true, treat whitespace as an illegal value
- lowerCaseOnly
- When true, ensure the final name is lower case.
- replaceChar
- The character to substitute for illegal values, must be legal.
Return Value
The sanitized file name.