Only read first 2000 lines of file

This should considerably speed things up when dealing with large files.