Implementing ship reading from file.