Added files path as commandline argument , removed debug