A: 

It seems your editor "/Users/jason/bin/mate" doesn't support a filename being passed as an argument.

From your terminal, try something like:

echo "Test text" > test.txt  
/Users/jason/bin/mate test.txt

To see if it opens the editor with the right text.

Jean Regisser
I figured out that you have to execute "mate -w" to wait for the file to be closed.
titaniumdecoy