Given a path like /home/foo/.mozilla/cache/data.txt, return the filename (data.txt), and return the full-path directory name (/home/foo/.mozilla/cache).

Handle also the case of c:\home\foo\.mozilla\cache\data.txt.

Download: mp4 ogv webm