Fixed last merge.
Return false if file parameter is not a File, Blob or String.