move formatArtistInput function to its own file