--- /Users/Jonno/Desktop/Services Patch/Patch/original_file_service.inc	2009-12-05 11:12:38.000000000 +0930
+++ /Users/Jonno/Desktop/Services Patch/Patch/file_service.inc	2010-10-27 13:11:28.000000000 +0930
@@ -27,6 +27,24 @@ function file_service_get($fid) {
   }
 }
 
+/**
+ * Getelements from a given file without the binary
+ *
+ * @param $fid
+ *   Number. File ID
+ * @return
+ *   Array. All elements for a given file except the data
+ */
+function file_service_get_info($fid) {
+  if ($file = db_fetch_array(db_query('SELECT * FROM {files} WHERE fid = %d', $fid))) {
+    return $file;
+  }
+  else {
+    return services_error(t('There is no file with the given ID.'));
+  }
+}
+
+
 
 /**
  * Check if the user has permission to save file information.
