Help for this page
fname=`echo $fname|sed 's/~/\/home\/ben/g'`
fname=`echo $fname|perl -pe "s#~#$HOME#g"`