I keep a book too, put songs at front and spare riffs at the back, sometimes i merge songs to make cool outros.
REcently Ive found that through soloing in the high regions of the guitar i can pic out 5 or 6 note patterns or riffs and transpose them down to the lower parts to base songs on, the riffs are in no way similar to the songs i was jamming too origionally