Delete file using FileManager?

Since I don’t know how to store a token in Credential I’m currently storing it in a file using FileManager. The service that requires this token might invalidate it. I would like to delete the file when that happens (instead I currently write an empty string to that file).