Added files extension mudule (add/delete). Fixed bugs.