Try executing the program without giving any arguments to it..
It'll tell you that the second argument is the folder to search ie:
Code:
~> ./program <.state_to_search> [folder_apart_from'.'to_search_in]
It will as default search in current directory, if you give a second argument it will assume that is the folder to search in.