diff --git a/src/javascript/core/utils/Mime.js b/src/javascript/core/utils/Mime.js
index <HASH>..<HASH> 100644
--- a/src/javascript/core/utils/Mime.js
+++ b/src/javascript/core/utils/Mime.js
@@ -137,6 +137,14 @@ define("moxie/core/utils/Mime", [
 			accept.mimes = mimes;
 							
 			return accept;
+		},
+
+		getFileExtension: function(fileName) {
+			return fileName.replace(/^.+\.([^\.]+)$/, "$1").toLowerCase();
+		},
+
+		getFileMime: function(fileName) {
+			return this.mimes[this.getFileExtension(fileName)] || '';
 		}
 	};
Mime: Add convenient methods to get file's extension and mime type by it's name.