Fixing @param name to correspond to actual parameter (filename -> fileName)
Fixing warning caused by default statement in switch statement that covered all enumeration values