adds first files and checks connection