Changed setup to include auth and return new auth and dict of fileinfos