If you hadn't turned on file versions in your operating system, and you overwrote a file with the exact same name, then unfortunately it will have been lost irrevocably. Check to see if you made backup copies.