creates balanaced files from subdata sets with features