String secureExtension = song.calculateSecureExtension( replacementChar ); String theoricalFileName = mdoSong.calculateSongTheoricalFileName( secureExtension, replacementChar ); mdoSong.setLocation( theoricalFileName ); mdoSong.setVolume( song.getVolume() ); : mdoSong.calculateAbsolutePath( settings ) ); String theoricalFileName = mdoSong.calculateSongTheoricalFileName( mdoSong.getExtension(), replacementChar ); mdoSong.setLocation( theoricalFileName );