Next, the solution for you
First yo need create three files: data1.txt, data2.txt, data3.txt.
Each file have one integer number, i.e: 1 ,2, 3. The content of each file is saved in V1(

. Enjoy it
subroutine readata
implicit none
integer :: i,n,j
CHARACTER (LEN=4) :: fname1,fname3
CHARACTER (LEN=9) :: fullname
CHARACTER (LEN=1) :: num
integer, allocatable::V1(

fname1='data' !nome principal do arquivo
fname3='.txt' !tipo de arquivo que vai ser lido
n=3 !numero de arquivos para ler
allocate (V1(n)) !variavel onde vai ser guardado os dados do arquivo lido
V1=0
do j=1,n
write(num,'(i1)') j !numeracao do arquivo
fullname=fname1//num//fname3 !gera nome completo do arquivo
open(unit=1,file=fullname,STATUS="OLD", ACTION="READ")
read(unit=1,fmt=300) V1(j)
close(unit=1)
enddo
300 format((i2))
end subroutine readata