strip newlines from url files