reads file and works