Added parameters (No more hardcoded paths)
Solved error with directories with various types of files in it.
Added usage message when called without mandatory params.