Pour a cup of bleach or vinegar…(not both) onto the washing machine and run the cycle. When it fills up with water, turn it off and let the water and bleach mingle for awhile; about an hour should do. This will help to break down any of the film that may have built up in there. Areas with hard water may be particularly prone to this. Turn the washer back on and let it finish the cycle.