Discards the current checkout. If the file is checked out, discard the checkout and revert the contents of the file to those from the last checked in version. This function updates the timestamp on a file in case the modified version was used in a previous build.