As of August 2015 the method this works for me:
file_ref.getOwner().getEmail()
It allowed me to identify who is the owner of the file that used to be shared with me, and ask him to take it out of the bin :) Here's entire script (on Win ctrl+Enter shows the console):
function checkTheFile() {
/* paste file id, FILE_ID obtained from its URL */
var fileID = "FILE_ID";
getFileInfo(fileID);
}
function getFileInfo(fileID) {
/* get the file's handle */
var file_ref = DriveApp.getFileById(fileID);
/* output various file info */
Logger.log("Document's title: " + file_ref.getName());
Logger.log("Document's viewers: " + file_ref.getViewers());
Logger.log("Document's owner: " + file_ref.getOwner());
/* email address: */
Logger.log("Document owner's email address: " + file_ref.getOwner().getEmail());
Logger.log("Sharing Permission: " + file_ref.getSharingPermission());
}