copying the File to the repository