Added -performOnFiles method