Added error message if the file is source directly, rather than through bash-completion.