in reply to extracting a filename from an ls -Rla

well, since you just want the file name, you could try leaving off the 'l' in 'Rla', since that tells it to give you all the extra junk you don't want. you might find it easier to use something pre-written though, like mirror.