private String MakeExecutable(String filename) {
//First get the absolute path to the file
File folder = m_context.getFilesDir();
String filefolder = folder.getCanonicalPath();
if (!filefolder.endsWith("/"))
filefolder += "/";
String fullpath = filefolder + filename;
Runtime.getRuntime().exec("chmod 770 " + fullpath).waitForExit();
return fullpath;