Made a program that, given a path with a bang in it (i.e. /dev/tty!) it will find the first valid file.
The bang was chosen so as to avoid problems with bash