filemode set to true for compress