Remove the spaces before the double punctuation marks
Check that the file exists and is writable, before trying to call sed on it