A file generation apparatus comprising: a file generation unit configured to generate a depth file that stores: a plurality of encoded streams of depth images in a plurality of tracks, the plurality of encoded streams of the depth images including at least a first encoded stream of a first depth image of a first bit rate in a first track and a second encoded stream of a second depth image of a second bit rate in a second track, and a third encoded stream of quality information of each depth image in a third track, wherein the file generation unit is further configured to: generate identification information related to the quality information included in the third encoded stream, generate information indicating a correspondence relationship between the identification information and the depth images in the plurality of tracks, and store the information indicating the correspondence relationship in a metadata area of the depth file, wherein the third encoded stream comprises a plurality of samples including the quality information, each sample being divided into a plurality of subsamples, wherein the information indicating the correspondence relationship indicates a respective track of the plurality of tracks corresponding to each respective subsample of the plurality of subsamples based on the identification information. a file generation unit configured to generate a depth file that stores: a plurality of encoded streams of depth images in a plurality of tracks, the plurality of encoded streams of the depth images including at least a first encoded stream of a first depth image of a first bit rate in a first track and a second encoded stream of a second depth image of a second bit rate in a second track, and a third encoded stream of quality information of each depth image in a third track, a plurality of encoded streams of depth images in a plurality of tracks, the plurality of encoded streams of the depth images including at least a first encoded stream of a first depth image of a first bit rate in a first track and a second encoded stream of a second depth image of a second bit rate in a second track, and a third encoded stream of quality information of each depth image in a third track, wherein the file generation unit is further configured to: generate identification information related to the quality information included in the third encoded stream, generate information indicating a correspondence relationship between the identification information and the depth images in the plurality of tracks, and store the information indicating the correspondence relationship in a metadata area of the depth file, generate identification information related to the quality information included in the third encoded stream, generate information indicating a correspondence relationship between the identification information and the depth images in the plurality of tracks, and store the information indicating the correspondence relationship in a metadata area of the depth file, wherein the third encoded stream comprises a plurality of samples including the quality information, each sample being divided into a plurality of subsamples, wherein the information indicating the correspondence relationship indicates a respective track of the plurality of tracks corresponding to each respective subsample of the plurality of subsamples based on the identification information. <EOS>