added greader and checks file