method:
 
public void ShareFileWithMessage(String file, String message)

The arguments have to be reversed to (String message, String file). 
Notice how its being called from ShareFile(String file) ==> ShareFileWithMessage("", file)

Other option is to update the caller to switch its parameter order.