added command line
excluded invalid extensions
corrected tests for syntax
now -c accepts only absolute path