            while( (c = fin.read()) != -1) {
                temp = temp + Character.toString((char)c);
            }
            ed2.setText(temp);
            Toast.makeText(getBaseContext(),"file read",Toast.LENGTH_SHORT).show();
        }
        catch(Exception e){
            e.printStackTrace();
        }
    }

    public void save(View view) {
        String data = ed1.getText().toString();