I need to write a function that does the following:
the function receives file names with this format `*.station` 

Between the words might be multiple spaces, I want to remove the extra
spaces between the words and leave only one.

For example (1): `aa__________a____aa _____________ ssd________.station`, needs to be changed to `aa_a_aa_ssd.station`

(2): `aa______________a.station` needs to be written as: `aa_a.station`

(The underscores (`_`) signify spaces in the above.)