You have to tell tar what it has to do. If you want to extract a file you have to give it the extract option -x and you have to tell that you want to extract a file, not the standard input, with the -f option. So your command should look like this:
Code:
tar -xf filename.tar.bz2