issue119: create private method + bug fix + spec file for sync_folders