improved file-granulator