Implement read from file