#3 Added -fr param (not working yet).
#3, #13 Improved cache files handling.