I notice that you're piping the output of ls... are you doing this in the directory where saveme is located? If not, ls will produce no output (but an error message on STDERR). Are you sure that ls is producing what you think it is? Maybe you could try using echo "saveme" instead?