Move switch breaks to end of cases

Rationale: If pattern is of length 3 but not "sos" or "s&s" then the code
currently enters the case for length 5.
Fix typo in filename