adding the file to the domain