removing whitespace that is present in config files on aws