get function and adding doc folder