Loading files and merging