private void setUp() {
		File tmpUser = null;
		File tmpMusic = null;
		try{
			tmpUser = new File("res/users.data");
			tmpMusic = new File("res/musics.data");
			this.setuserFileOut(new FileOutputStream(tmpUser));
			this.setUserFileIn(new FileInputStream(tmpUser));
			this.setMusicFileOut(new FileOutputStream(tmpMusic));
			this.setMusicFileIn(new FileInputStream(tmpMusic));
			
		} catch (FileNotFoundException e) {
			if(!tmpUser.exists())
				try {
					tmpUser.createNewFile();
					this.setuserFileOut(new FileOutputStream(tmpUser));
					this.setUserFileIn(new FileInputStream(tmpUser));
				} catch (IOException e1) {
					e1.printStackTrace();
				}
			else if(!tmpMusic.exists())
				try {
					tmpMusic.createNewFile();
					this.setMusicFileOut(new FileOutputStream(tmpMusic));
					this.setMusicFileIn(new FileInputStream(tmpMusic));
				} catch (IOException e2) {
					e.printStackTrace();
				}
		} catch (Exception eof) {
			this.setMusicBuffer(new HashMap<String, PersistentMusic>());
			this.setUserBuffer(new HashMap<Email, PersistentUser>());
		}
		
		try {
			setUserDbOut(new ObjectOutputStream(userFileOut));
			setUserDbIn(new ObjectInputStream(userFileIn));
			
			setMusicDbOut(new ObjectOutputStream(this.getMusicFileOut()));
			setMusicDbIn(new ObjectInputStream(this.getMusicFileIn()));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}