One more nit: nsILocalFile is deprecated, so use nsIFile instead.