Add file buffer.
Add TypeError checking in top_artists as well