trim whitespace from pass file