Moving from level 2 to 3 involves getting the password from a file with spaces in the filename. Not a problem.

bandit2@bandit:~$ ls
spaces in this filename
bandit2@bandit:~$ cat "spaces in this filename"
XXXXXXXXXXXXXXXXXXXXXX (actual password not shown)
bandit2@bandit:~$