Only dirty if it's a file.