push @files, grep { -f && -s _ >= $min_size && -s _ <= $max_size } read_dir( $d, prefix => 1 );