Collecting data by allocatable array

Suppose there is a file, containing a series of data, and the number of data is unknown before reading the file.

To collect all data in this file, is there a kind of array in Julia for this purpose, just like the allocatable type array in Fortran or is there any other way to collect all data through Julia?

Would anyone please give me some hints?

Thank you in advance.

Juila’s Vector{} can be push!()ed to, its length is not fixed