Remove a file. This will fail if the file does not exist.
This computation cannot remove directories. For that, use
removeDirectory or
removeTree.
This computation throws
IOError on failure. See “Classifying
I/O errors” in the
System.IO.Error documentation for
information on why the failure occured.