From fidefrag revision 53
Add basedir and rename the class