Improved do-ls-last-file command