renamed objectname to objname
renamed max_depth to maxdepth
moved objname to args
renamed file to filepath
min
min