re: checking validity, `File.exists`, perhaps trapping exceptions? (presumably we only care if we get a `true` back or not and `false` and exceptions can be handled the same)