Added commandline option to specify file extensions.
Changed literal value to constant.