Not sure about Java and Groovy, but php is just a plain text file, there's no way to tell where the file ends when it is reconstructed by Deep Scan. You can use Quick Scan to recover these files.
It looks like you're new here. If you want to get involved, click one of these buttons!