Added filetype based indentation and required folder creation