added command line arguments, should work for basic ls