Remove a particular line from a text file identified by line number.