I've got a bunch of music that is in one directory and I wanted to sort it so I wrote a ruby program to do it. The program basically works, just for some reason it misses a few files, throwing TagLib2's 'BadFile' exception. However, if I run it twice (just sorting the files it missed) it will sort those files correctly. There are more details in the comments of the attached file. Help would be sincerely appreciated. Thank you. Attachments: http://www.ruby-forum.com/attachment/5766/main.rb -- Posted via http://www.ruby-forum.com/.