Adds files with the API