added base ls code for printing w/o flags