added group size tests
user can now set prefered group size
added tests
changed remove file method impl
refactor