Checks if the filename contains a null character.
bool containsNullCharacter(String filename) { return filename.contains(String.fromCharCode(0)); }