Add tab autocomplete for files and folders

Note, this is based on older fork