add tests for custom ext files. start working on exclude option
add exclude option. update updatePattern method. Close #2