forked from http://sourceforge.net/projects/irecover/