For Lumia phones, the only way I know of to do that requires a development device (i.e. non-retail one, used for internal development and testing of firmware and whatnot). Retail devices are locked out of UMS mode at a very low level.
Even then, there'd be no guarantee. Flash memory overwrites itself all the time, all over the place. The logical disk sectors exposed to the operating system bear no resemblance to the physical memory blocks of NAND flash, which are constantly shuffled for the sake of wear leveling. Otherwise, a frequently-modified location - like a log file or constantly-updated registry key - would burn out the storage where it was located and the whole thing would stop working correctly. On OSes with TRIM support - which Windows has had since Win7, so it's almost certainly in WP8.x - any deleted files are fair game to be re-used for wear leveling and any *large* file is almost certainly at least partially overwritten already. It's not like magnetic storage, where you're fine as long as no new files (or file fragments) have been created; any write anywhere on the file system could destroy the data from a deleted file.