New way of reading file