Is it ok to read only first line from file?