Fix shareFolder method
Update gitignore
Simplify files method signature. Add some docs.