It kind of depends. If the new file was larger and there wasn't enough contiguous space the data would have been saved on a different sector(s) of the hard drive. Otherwise it likely overrode the data. You can still try running a recovery tool such as Recuva, GetDataBack or testdisk.