if (! (-d $filepath) && (-B $filepath) { true if not a directory and otherwise a binary file}