Removing challenge content and empty lines