EMF >> URI >> Get IFile from EMF resource
EObject eObject = ...;
Resource eResource = eObject.eResource();
URI eUri = eResource.getURI();
if (eUri.isPlatformResource()) {
String platformString = eUri.toPlatformString(true);
IFile file = ResourcesPlugin.getWorkspace().getRoot().findMember(platformString);